{Archipelago}
const
  fi = '228.in';
  fo = '228.out';
type
  point = record
            x, y : extended;
          end;
var
  p1, p2, O : point;
  dx, dy : extended;
  n, n1, n2 : integer;

procedure swap(var a, b : integer);
var
  temp : integer;
begin
  temp := a;
  a := b;
  b := temp;
end;

procedure inp;
begin
  read(n, n1, n2);
  if n1 > n2 then
  begin
    with p2 do read(x, y);
    with p1 do read(x, y);
    swap(n1, n2);
  end
  else
  begin
    with p1 do read(x, y);
    with p2 do read(x, y);
  end;
end;

procedure process;
begin
end;

procedure out;
begin
end;

begin
  assign(input, fi); reset(input);
  assign(output, fo); rewrite(output);
  inp;
  process;
  out;
  close(output);
  close(input);
end.